<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
<head>
<title>系统管理--文件管理</title>
<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
</head>
<body>
<div align="center"><h3>文件管理</h3></div>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
	<logic:present name="filelist">
	<table width="350px" align="center">
	<tr>
	    <th class="td_01">返回</th>
	    <th class="td_01">名称</th>
	    <th class="td_01">删除</th>
	</tr>
	<logic:iterate id="file" name="filelist">
	<tr>
	    <td class="td_03"><img src="${ctx}${file[0]}"></td>
	    <td class="td_03"><a href="${ctx}${file[1]}">${file[2]}</a></td>
	    <td class="td_03"><a href="#" onmousedown="javascript:deleteFile('${file[1]}','${file[3]}');">删除</a></td>
	</tr>
	</logic:iterate>
	</table>
	</logic:present>
</body>
<script type="text/javascript">

function deleteFile(file1,file3){
  alert(file1+" "+file3);
  if(confirm('是否删除？')==true){
     location.href="${ctx}/others/adManage.do?method=deleteFile&path="+file1+"&file4="+file3;
  }
}

</script>
</html>
